package com.apex.springcloud;

import com.apex.myrule.MySelfRule;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.ribbon.RibbonClient;

/**
 * @author XiaoYang
 * @version 1.0
 * @program: springcloud-parant
 * @Classname DeptConsumer80
 * @description TODO
 * @date 2021/7/15 13:03
 */

@SpringBootApplication
@EnableEurekaClient
@RibbonClient(name = "SPRINGCLOUD-PROVIDER-DEPT",configuration = MySelfRule.class)
public class DeptConsumerRibbon80 {

    public static void main(String[] args) {
        SpringApplication.run(DeptConsumerRibbon80.class,args);
    }

}